/*
 2011 (C) Stefan Grufman
 MyPilot

 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 any later version. see <http://www.gnu.org/licenses/>
 */
#ifndef _DEFINES_
#define _DEFINES_


// LEDS, PIN 36 = B, 37 = A, 35 = C
#define LED_HEARTBEAT 36
#define LED_MOTORS 37
#define LED_GPS 35

// TYPES OF FRAMES
#define FRAME_TYPE_UNDEF	0
#define FRAME_TYPE_TRI		1
#define FRAME_TYPE_QUAD		2
#define FRAME_TYPE_HEXA		3
#define FRAME_TYPE_OCTO		4


// PARAMETERS
#define PARAM_COUNT 4
#define PARAM_NAME_LENGTH 12

#define PARAM_EEPROM_VER		0
#define PARAM_EEPROM_VER_NAME 	"EEPROM"
#define PARAM_SYSTEM_ID			1
#define PARAM_SYSTEM_ID_NAME 	"ID_SYS"
#define PARAM_COMPONENT_ID		2
#define PARAM_COMPONENT_ID_NAME "ID_COMP"
#define PARAM_FRAME_TYPE		3
#define PARAM_FRAME_TYPE_NAME 	"FRAME_TYPE"



// USER SETTINGS BELOW THIS
#define USR_SYSTEM_ID 		(01)
#define USR_COMPONENT_ID 	(01)
#define USR_FRAME_TYPE 		FRAME_TYPE_QUAD



#endif // _DEFINES_
